#

| Chapter 2 UNIX Commands |

## soelim

    /usr/ucb/soelim [files]

A preprocessor that reads nroff/troff input `files`, resolving and then eliminating .so requests. That is, input lines such as

>     .so header

are replaced by the contents of the file header. Normally, .so requests are resolved by nroff or troff. Use soelim whenever you are preprocessing the input (e.g., passing it through tbl or sed) and the complete text is needed prior to formatting.

### Example

Run a sed script on (all) input before formatting:

>     soelim file | sed -e 's/--/\\(em/' | nroff | lp

Reference: sleep |  | Reference: sort